

import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.Socket;
import java.nio.channels.SocketChannel;


public class DataServerInfo{
	
	
	private SocketChannel dataSocket;
	private ObjectInputStream objInputStream;
	private ObjectOutputStream objOutputStream;
	private String dataServerName;
	private String serverHost;
	private int serverPort;
	
	
	

	public DataServerInfo(SocketChannel dataSocket){
		this.dataSocket = dataSocket;
	}

	public SocketChannel getDataSocket() {
		return dataSocket;
	}

	public void setDataSocket(SocketChannel dataSocket) {
		this.dataSocket = dataSocket;
	}
	
	public String getServerHost(){
		return serverHost;
	}
	
	public void setServerHost(String serverHost){
		this.serverHost = serverHost;
	}
	
	public int getServerPort(){
		return serverPort;
	}
	
	public void setServerPort(int serverPort){
		this.serverPort = serverPort;
	}
	
	public String getDataServerName() {
		return dataServerName;
	}

	public void setDataServerName(String dataServerName) {
		this.dataServerName = dataServerName;
	}

	public ObjectInputStream getObjInputStream() {
		return objInputStream;
	}

	public void setObjInputStream(ObjectInputStream objInputStream) {
		this.objInputStream = objInputStream;
	}

	public ObjectOutputStream getObjOutputStream() {
		return objOutputStream;
	}

	public void setObjOutputStream(ObjectOutputStream objOutputStream) {
		this.objOutputStream = objOutputStream;
	}
}